{section name=error loop=$errors}
{strip}
    <div class="error">
        {$errors[error]}
    </div>
{/strip}
{/section}